package com.antu.first.bean;

import java.util.Date;

/**
 * 房间价格策略
 * Created by Administrator on 2018/3/4.
 */
public class RoomStrategy {

    private int sId;//策略Id

    private Date sCreateTime;//床架时间

    private Merchant merchant;//创建者

    private int sStatus;//状态

    private String sName;//策略名称

    private RoomType roomType;//房间类型

    private Hotel hotel;//所属酒店

    public RoomStrategy() {
    }

    public RoomStrategy(int sId, Date sCreateTime, Merchant merchant, int sStatus, String sName, RoomType roomType, Hotel hotel) {

        this.sId = sId;
        this.sCreateTime = sCreateTime;
        this.merchant = merchant;
        this.sStatus = sStatus;
        this.sName = sName;
        this.roomType = roomType;
        this.hotel = hotel;
    }

    public int getsId() {

        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public Date getsCreateTime() {
        return sCreateTime;
    }

    public void setsCreateTime(Date sCreateTime) {
        this.sCreateTime = sCreateTime;
    }

    public Merchant getMerchant() {
        return merchant;
    }

    public void setMerchant(Merchant merchant) {
        this.merchant = merchant;
    }

    public int getsStatus() {
        return sStatus;
    }

    public void setsStatus(int sStatus) {
        this.sStatus = sStatus;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public RoomType getRoomType() {
        return roomType;
    }

    public void setRoomType(RoomType roomType) {
        this.roomType = roomType;
    }

    public Hotel getHotel() {
        return hotel;
    }

    public void setHotel(Hotel hotel) {
        this.hotel = hotel;
    }

    @Override
    public String toString() {
        return "RoomStrategy{" +
                "sId=" + sId +
                ", sCreateTime=" + sCreateTime +
                ", merchant=" + merchant +
                ", sStatus=" + sStatus +
                ", sName='" + sName + '\'' +
                ", roomType=" + roomType +
                ", hotel=" + hotel +
                '}';
    }
}
